package com.n9.qq.android;

import com.qq.taf.jce.JceOutputStream;

/**
 * @author ice
 * @since 2019/2/22 14:15
 */
public class JceUtils {
    /**
     * 对象转jce bytes
     * @param object
     * @return
     */
    public static byte[] toBytes(Object object) {
        JceOutputStream jout = new JceOutputStream();
        jout.write(object, 0);
        return jout.toByteArray();
    }
}
